package com.sk.sqd.decorator;

import com.sk.sqd.component.Component;

/**
 * 抽象装饰角色，实现与抽象角色一致的接口
 */
public abstract class Decorator implements Component {

    private Component component;

    public Decorator(Component component) {
        this.component = component;
    }

    public void operation(){
        component.operation();
    }

}
